createItem icon is superfluous

Hi all,

I'm trying to add an icon to a menu item and keep getting 'icon is superfluous in menu'.  I tried several things but it probably has something to do with the iconfilename.  I added an icon filename that wasn't in the icons folder but had received the same issue.

createItem(int mappingFunction();

string label,

char mnemonic;

char accelerator,

int modifierKeyFlags,

{IconID icon_id | string iconFileName},

string tooltip,

string helptext,

string inactiveHelp,

string dxlFile)

 

createItem(alwaysOn,

sName"",

null,

null,

modKeyCtrl,

(NLS_("create_baseline.ico")),

null,

"",

"",

sFilename)

 

Any ideas?

 

Thanks,

Christopher Roy

 

 


chrisroy - Mon Jan 22 14:08:55 EST 2018